<include file="Public/header" title="后台管理" />
<body style="background:#2b333e;" onselectstart="return false">
<ul class="nav-first">
	<?php if($auth->check('系统管理',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe62a;</i>
			<span>系统管理</span>
			<i class="iconfont down">&#xe656;</i>
            <i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('User/index')}>"  target="main">
					用户列表
				</a>
			</li>
			<li>
				<a href="<{:U('MessNumber/index')}>"  target="main">
					短信账户设置
				</a>
			</li>
			<li>
				<a href="<{:U('VoiceNumber/index')}>"  target="main">
					语音账户设置
				</a>
			</li>
			<li>
				<a href="<{:U('Template/index')}>"  target="main">
					短信模板管理
				</a>
			</li>
			<li>
				<a href="<{:U('Notice/edit')}>"  target="main">
					系统通知管理
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>

	<?php if($auth->check('权限管理',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe688;</i>
			<span>权限管理</span>
			<i class="iconfont down">&#xe656;</i>
			<i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('AuthGroup/index')}>"  target="main">
					角色管理
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>

	<?php if($auth->check('客户管理',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe685;</i>
			<span>客户管理</span>
			<i class="iconfont down">&#xe656;</i>
			<i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('Customer/index')}>"  target="main">
					客户列表
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>

	<?php if($auth->check('库存管理',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe686;</i>
			<span>库存管理</span>
			<i class="iconfont down">&#xe656;</i>
			<i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('Container/index')}>"  target="main">
					货柜管理
				</a>
			</li>
			<li>
				<a href="<{:U('Inventory/index')}>"  target="main">
					库存盘点
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>

	<?php if($auth->check('快递取件',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe684;</i>
			<span>快递取件</span>
			<i class="iconfont down">&#xe656;</i>
			<i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('Take/index')}>"  target="main">
					快件录入
				</a>
			</li>
			<li>
				<a href="<{:U('Take/review')}>"  target="main">
					取件复核
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>

	<?php if($auth->check('快递寄件',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe6e1;</i>
			<span>快递寄件</span>
			<i class="iconfont down">&#xe656;</i>
			<i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('Post/index')}>"  target="main">
					寄件列表
				</a>
			</li>
			<li>
				<a href="<{:U('Price/index')}>"  target="main">
					寄件价格
				</a>
			</li>
			<li>
				<a href="<{:U('Record/index')}>"  target="main">
					单号管理
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>

	<?php if($auth->check('短信管理',session('id'))): ?>
	<li>
		<a class="first" href="javascript:void(0);">
			<i class="iconfont">&#xe650;</i>
			<span>短信管理</span>
			<i class="iconfont down">&#xe656;</i>
			<i class="iconfont down up">&#xe625;</i>
		</a>
		<ul class="nav-second">
			<li>
				<a href="<{:U('MessRecord/index')}>"  target="main">
					短信使用记录
				</a>
			</li>
			<li>
				<a href="<{:U('VoiceRecord/index')}>"  target="main">
					语音使用记录
				</a>
			</li>
			<li>
				<a href="<{:U('MessContent/index')}>"  target="main">
					短信内容管理
				</a>
			</li>
		</ul>
	</li>
	<?php endif ?>
</ul>
</body>
</html>
